package icasue.stronger.wareable.nameconvert;


import java.util.function.Function;

/**
 * @Author: Qiao Hang
 * @CreateDate: 2020/7/3 上午9:42
 * @UpdateDate:
 * @Description: This interface is defined for beanName transFor logic,
 * which be used for BeanDefinition's store which generic by Spring，
 * these origin beanDefinition retains some special features which extends by spring Annotation such as @Service,@Transactional
 */
public interface BeanNameTransFor {

    /**
     * This method is used for bean transFor to store origin Spring's beanDefinition.
     * @return
     */
    Function<String, String> transForTo();

    /**
     * This method is used for transBack beanName.
     * @return
     */
    Function<String, String> transForBack();
}
